package com.hm.shopping.domain;

import java.util.ArrayList;
import java.util.List;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.hm.shopping.auto.su.BaseDomain;
import com.hm.shopping.auto.su.R;
import com.hm.shopping.vo.su.GoodsAttributeVo;

import lombok.Getter;
import lombok.Setter;

/**
 * @author shishun.wang
 * @date 2018年1月18日 下午6:17:30
 * @version 1.0
 * @describe 商品分类明细
 */
@Setter
@Getter
@Document(collection = R.Database.prefix + "CLASSIFICATION_DETAIL")
public class ClassificationDetailDomain extends BaseDomain {

	private static final long serialVersionUID = 1L;
	
	/**
	 * 商品分类ID
	 */
	private String classificationId;

	/**
	 * 商品分类明细名称
	 */
	@Field(value = "classification_detail_name")
	private String classificationDetailName;

	/**
	 * 商品分类明细CODE
	 */
	@Field(value = "classification_detail_code")
	private String classificationDetailCode;
	
	/**
	 * 商品分类明细图标
	 */
	@Field(value = "classification_detail_icon")
	private String classificationDetailIcon;

	/**
	 * 商品分类明细顺序
	 */
	@Field(value = "classification_detail_order")
	private Integer classificationDetailOrder;
	
	/**
	 * 商品属性
	 */
	@Field(value = "attributes")
	private List<GoodsAttributeVo> attributes = new ArrayList<GoodsAttributeVo>();

}
